package com.slz3.business.module.wmsManagement.wmsStockTransfer.service;

import com.slz3.business.module.wmsManagement.wmsStockTransfer.domain.WmsStockTransfer;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface WmsStockTransferService {

    WmsStockTransfer save(WmsStockTransfer wmsStockTransfer);

    Page<WmsStockTransfer> page(MultiValueMap<String, String> queryParams);

    WmsStockTransfer modify(WmsStockTransfer wmsStockTransfer);

    Optional<WmsStockTransfer> single(UUID uuid);

    List<WmsStockTransfer> findAllByUuids(Iterable<UUID> uuids);

    List<WmsStockTransfer> delete(List<WmsStockTransfer> wmsStockTransferList);

}
